<div class="wal">	
<div class="fl">
    <div class="indexFlash">
         <div class="smallImg">
                <?php foreach((array)$this->picture as $p): ?> 
	    			<img src="./attach/<?=$p['pic']?>" width="51" height="35"  />
      			<?php endforeach; ?>
         </div>
         <ul>
              <?php foreach((array)$this->picture as $p): ?> 
	    			<li><a href="<?=$p['link_url']?>"><img src="./attach/<?=$p['pic']?>" width="755" height="350"  /></a></li>
      			<?php endforeach; ?>
         </ul>
	</div>
</div>
<div class="fr Announcements">
     <h2><a href="#"></a></h2>
     <ul>
          <?php foreach((array)$this->dongtai as $dongtai): ?>
           <li><a href="article.php?aid=<?=$dongtai['article_id']?>"><?=$dongtai['title']?>&nbsp;&nbsp;[<?=date('Y-m-d',$new['created_time'])?>]</a></li>
           <?php endforeach; ?>
     </ul>
</div>
      <span class="clear_f"></span>
	<div class="Announcement">
    	<div class="fl">最新动态：</div>
     	<div class="fr">
			<div id="demo">
				<div id="indemo">
					<div id="demo1">
          				<ul>
                        	<?php foreach((array)$this->news as $new): ?>
                        		<li><a href="article.php?aid=<?=$new['article_id']?>"><?=$new['title']?></a></li>
                        	<?php endforeach; ?>
          				</ul>
					</div>
					<div id="demo2"></div>
				</div>
			</div>
			<script>
            
            var speed=50; //数字越大速度越慢
            var tab=document.getElementById("demo");
            var tab1=document.getElementById("demo1");
            var tab2=document.getElementById("demo2");
            tab2.innerHTML=tab1.innerHTML;
            function Marquee(){
            if(tab2.offsetWidth-tab.scrollLeft<=0)
            tab.scrollLeft-=tab1.offsetWidth
            else{
            tab.scrollLeft++;
            }
            }
            var MyMar=setInterval(Marquee,speed);
            tab.onmouseover=function() {clearInterval(MyMar)};
            tab.onmouseout=function() {MyMar=setInterval(Marquee,speed)};
            
            </script>
     	</div>
	</div>

</div>
	<div class="wals">
        <div class="indexBox">
             <div class="indexAbout">
                  <div class="fl"><a href="company.php?aid=4"><img src="./static/image/img98_1.jpg" /></a></div>
                  <div class="fr">
                       <div class="ico"><a href="company.php?aid=4"><img src="./static/image/ico2.gif" /></a></div>
                       <h2>数字化校园解决方案</h2>
                       <div class="content"><?=trim($this->company)?>
                       </div>
                  </div>
             </div>
             <div class="indexAbout">
                  <div class="fl"><a href="company.php?aid=6"><img src="./static/image/img98_2.jpg" /></a></div>
                  <div class="fr">
                       <div class="ico"><a href="company.php?aid=6"><img src="./static/image/ico3.gif" /></a></div>
                       <h2>一卡通解决方案</h2>
                       <div class="content"><?=trim($this->type)?>
                       </div>
                  </div>
             </div>
             <div class="indexAbout">
                  <div class="fl"><a href="company.php?aid=8"><img src="./static/image/img98_3.jpg" /></a></div>
                  <div class="fr">
                       <div class="ico"><a href="company.php?aid=8"><img src="./static/image/ico3.gif" /></a></div>
                       <h2>数字能源监管系统</h2>
                       <div class="content"><?=trim($this->case)?>
                       </div>
                  </div>
             </div>

			 <div class="indexAbout">
                  <div class="fl"><a href="company.php?aid=10"><img src="./static/image/cs2b_cn.jpg" /></a></div>
                  <div class="fr">
                       <div class="ico"><a href="company.php?aid=10"><img src="./static/image/ico3.gif" /></a></div>
                       <h2>金融IC卡推广方案</h2>
                       <div class="content"><?=trim($this->success)?>
                       </div>
                  </div>
             </div>
        </div>
    </div>